package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.AreaBean;

import java.util.List;

/**
 * @author RJ
 * @date 2022/9/14 22:13
 */
public interface IAreaService extends IService<AreaBean> {
    //添加区域
    void addArea(AreaBean areaBean);

    //根据区域名称，林种，负责小班查询区域信息
    IPage<AreaBean> cutAreaByItem(Integer pageNo, Integer pageSize, String areaName, String areaForestType, String className);

    //查询所有区域
    List<AreaBean> findArea();
}
